.class Lrexsee/natives/RexseeJavaView$14;
.super Ljava/lang/Object;
.source "RexseeJavaView.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/natives/RexseeJavaView;->showPrevious(Ljava/lang/String;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lrexsee/natives/RexseeJavaView;

.field private final synthetic val$viewTag:Lrexsee/natives/ViewTag;


# direct methods
.method constructor <init>(Lrexsee/natives/RexseeJavaView;Lrexsee/natives/ViewTag;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/natives/RexseeJavaView$14;->this$0:Lrexsee/natives/RexseeJavaView;

    iput-object p2, p0, Lrexsee/natives/RexseeJavaView$14;->val$viewTag:Lrexsee/natives/ViewTag;

    .line 597
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 4

    .prologue
    const/4 v3, 0x0

    const/16 v2, 0x15

    .line 600
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$14;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v1, "ScrollView"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 601
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$14;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object p0, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    .end local p0    # "this":Lrexsee/natives/RexseeJavaView$14;
    check-cast p0, Landroid/widget/ScrollView;

    const/16 v0, 0x21

    invoke-virtual {p0, v0}, Landroid/widget/ScrollView;->pageScroll(I)Z

    .line 613
    :cond_0
    :goto_0
    return-void

    .line 602
    .restart local p0    # "this":Lrexsee/natives/RexseeJavaView$14;
    :cond_1
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$14;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v1, "HorizontalScrollView"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 603
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$14;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object p0, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    .end local p0    # "this":Lrexsee/natives/RexseeJavaView$14;
    check-cast p0, Landroid/widget/HorizontalScrollView;

    const/16 v0, 0x11

    invoke-virtual {p0, v0}, Landroid/widget/HorizontalScrollView;->pageScroll(I)Z

    goto :goto_0

    .line 604
    .restart local p0    # "this":Lrexsee/natives/RexseeJavaView$14;
    :cond_2
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$14;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v1, "ViewAnimator"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_3

    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$14;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v1, "ViewFlipper"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_4

    .line 605
    :cond_3
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$14;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object p0, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    .end local p0    # "this":Lrexsee/natives/RexseeJavaView$14;
    check-cast p0, Landroid/widget/ViewAnimator;

    invoke-virtual {p0}, Landroid/widget/ViewAnimator;->showPrevious()V

    goto :goto_0

    .line 606
    .restart local p0    # "this":Lrexsee/natives/RexseeJavaView$14;
    :cond_4
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$14;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v1, "Gallery"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_5

    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$14;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v1, "ThreeDGallery"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_6

    .line 607
    :cond_5
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$14;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    check-cast v0, Landroid/widget/Gallery;

    invoke-virtual {v0, v2, v3}, Landroid/widget/Gallery;->onKeyDown(ILandroid/view/KeyEvent;)Z

    .line 608
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$14;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object p0, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    .end local p0    # "this":Lrexsee/natives/RexseeJavaView$14;
    check-cast p0, Landroid/widget/Gallery;

    invoke-virtual {p0, v2, v3}, Landroid/widget/Gallery;->onKeyUp(ILandroid/view/KeyEvent;)Z

    goto :goto_0

    .line 609
    .restart local p0    # "this":Lrexsee/natives/RexseeJavaView$14;
    :cond_6
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$14;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v1, "PageView"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 610
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$14;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    check-cast v0, Lrexsee/ebook/PageView;

    iget-object v1, p0, Lrexsee/natives/RexseeJavaView$14;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object p0, v1, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    .end local p0    # "this":Lrexsee/natives/RexseeJavaView$14;
    check-cast p0, Lrexsee/ebook/PageView;

    invoke-virtual {p0}, Lrexsee/ebook/PageView;->getPageIndex()I

    move-result v1

    const/4 v2, 0x1

    sub-int/2addr v1, v2

    invoke-virtual {v0, v1}, Lrexsee/ebook/PageView;->setPageIndex(I)V

    goto/16 :goto_0
.end method
